using B.S.NewMedical.Api.Read.DTOS.Test;
using B.S.NewMedical.ErrorCode;
using MediatR;
using System.Collections.Generic;

namespace B.S.NewMedical.Api.Read.Application.Command.Doctor.Test
{
    /// <summary>
    /// 获取检验项目列表命令
    /// </summary>
    public class GetTestItemsCommand : IRequest<ApiResult<List<TestItemDto>>>
    {
        /// <summary>
        /// 检验项目分类ID，为null时查询所有
        /// </summary>
        public int? CategoryId { get; set; }

        public GetTestItemsCommand(int? categoryId = null)
        {
            CategoryId = categoryId;
        }
    }
}